package com.bifang.module.file.common.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class BatchImgCompressVO implements Serializable {
    @Schema(title = "文件id")
    private BigDecimal fileId;

    @Schema(title = "文件显示id")
    private String showId;

    @Schema(title = "文件开始id")
    private BigDecimal fileStartId;

    @Schema(title = "文件结束id")
    private BigDecimal fileEndId;

    @Schema(title = "上传时间开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date upTimeStart;
    @Schema(title = "上传时间结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date upTimeEnd;
    @Schema(title = "图片压缩是否删除原文件：true 删除 false 保留 默认为true")
    private Boolean imgCompressDel=false;

    @Schema(title = "接入应用账号所属应用id")
    private Long appId;
}
